projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72367d6
)
d/test.sh: Line-buffer stdout
author
Simon McVittie
<smcv@debian.org>
Sun, 18 Apr 2021 10:12:55 +0000
(11:12 +0100)
committer
Simon McVittie
<smcv@debian.org>
Sun, 18 Apr 2021 10:12:55 +0000
(11:12 +0100)
Otherwise, lines from stdout appear with an arbitrary delay, making it
hard to tell what the order of events was.
debian/test.sh
patch
|
blob
|
history
diff --git
a/debian/test.sh
b/debian/test.sh
index d0dba67d5b965455a6cd0672dd8996665d0f2204..84242ffd63c63f062db8b0821152aa3588816820 100755
(executable)
--- a/
debian/test.sh
+++ b/
debian/test.sh
@@
-14,7
+14,8
@@
unset https_proxy
unset no_proxy
failed=0
-make check || failed=1
+# Use line-buffering so stdout and stderr interleave somewhat nicely
+stdbuf -oL make check || failed=1
pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || :
pkill --full '\.libs/ostree-trivial-httpd' || :